getCredentials

abstract fun <T : Credentials?> getCredentials(credentialsType: Class<T>): T?